package com.azt.provider.mapper;

import com.azt.api.pojo.DataFunction;
import org.apache.ibatis.annotations.Param;
import tk.mybatis.mapper.common.Mapper;
import tk.mybatis.mapper.common.MySqlMapper;

import java.util.List;

/**
 * Created by zouheyuan on 2017/5/8.
 */
public interface DataFunctionMapper extends Mapper<DataFunction>,MySqlMapper<DataFunction> {

    /**
     * 根据角色id获取菜单
     * @param adminId
     * @return
     */
    List<DataFunction> getFunctionByRoleId(@Param("adminId") Integer adminId);

}
